package net.jeeshop.services.front.bbs.dao;

import net.jeeshop.core.DaoManager;
import net.jeeshop.services.front.bbs.bean.BbsComment;
import net.jeeshop.services.front.bbs.dto.BbsCommentDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by zuohao on 16/7/7.
 */
public interface BbsCommentDao extends DaoManager<BbsComment> {

    public List<BbsComment> selectBbsCommentByBbsDetailId(Map map);

    public int selectBbsCommentCountByBbsDetailId(Map map);

    public void insertBbsComment(BbsComment bbsComment);

    public List<BbsComment> selectBbsCommentByType(Map<String,Object> map);

    public int deleteBbsCommentById(Map map);

    public int deleteBbsCommentByDetailId(String detailId);

    List<BbsCommentDTO> selectBbsCommentDTOByBbsDetailId(Map<String, Object> param);
}
